package com.usian.search.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.search.dtos.UserSearchDto;
import com.usian.model.search.pojos.ApUserSearch;

public interface ApUserSearchService extends IService<ApUserSearch> {
    /**
     查询搜索历史
     @param dto
     @return
     */
    public ResponseResult findUserSearch(UserSearchDto dto);

    /**
     删除搜索历史
     @param dto
     @return
     */
    public ResponseResult delUserSearch(UserSearchDto dto);

    /**
     插入搜索记录
     @param
     @return
     */
    public void insert(Integer entryId,String searchWords);
}